[INFO] cloning repository https://github.com/YOUSOLA/AA
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YOUSOLA/AA" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYOUSOLA%2FAA", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYOUSOLA%2FAA'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 989ad446025bc47d499e0e34a3df95a0ca489dbd
[INFO] checking YOUSOLA/AA against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYOUSOLA%2FAA" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/YOUSOLA/AA on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/YOUSOLA/AA
[INFO] finished tweaking git repo https://github.com/YOUSOLA/AA
[INFO] tweaked toml for git repo https://github.com/YOUSOLA/AA written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/YOUSOLA/AA already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-quote v0.3.2
[INFO] [stderr]   Downloaded liquid-derive v0.22.0
[INFO] [stderr]   Downloaded tract-linalg v0.15.3
[INFO] [stderr]   Downloaded strum v0.24.0
[INFO] [stderr]   Downloaded enum-ordinalize v3.1.10
[INFO] [stderr]   Downloaded liquid v0.22.0
[INFO] [stderr]   Downloaded proc-quote-impl v0.3.2
[INFO] [stderr]   Downloaded os_info v3.0.7
[INFO] [stderr]   Downloaded liquid-core v0.22.0
[INFO] [stderr]   Downloaded tract-onnx v0.15.3
[INFO] [stderr]   Downloaded liquid-lib v0.22.0
[INFO] [stderr]   Downloaded ndarray v0.15.3
[INFO] [stderr]   Downloaded tract-core v0.15.3
[INFO] [stderr]   Downloaded educe v0.4.18
[INFO] [stderr]   Downloaded kstring v1.0.5
[INFO] [stderr]   Downloaded tract-data v0.15.3
[INFO] [stderr]   Downloaded tract-hir v0.15.3
[INFO] [stderr]   Downloaded tract-onnx-opl v0.15.3
[INFO] [stderr]   Downloaded tract-nnef v0.15.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9f640b5d902004e89a4ff6fdab3f0b3745f8ba46f786102a300377d1f9a402d1
[INFO] running `Command { std: "docker" "start" "-a" "9f640b5d902004e89a4ff6fdab3f0b3745f8ba46f786102a300377d1f9a402d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9f640b5d902004e89a4ff6fdab3f0b3745f8ba46f786102a300377d1f9a402d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f640b5d902004e89a4ff6fdab3f0b3745f8ba46f786102a300377d1f9a402d1", kill_on_drop: false }`
[INFO] [stdout] 9f640b5d902004e89a4ff6fdab3f0b3745f8ba46f786102a300377d1f9a402d1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 440b71651dc652b2e6588ce4a1c208545cbfb49eecf2a990188b991b09c03084
[INFO] running `Command { std: "docker" "start" "-a" "440b71651dc652b2e6588ce4a1c208545cbfb49eecf2a990188b991b09c03084", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling syn v1.0.77
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling cc v1.0.70
[INFO] [stderr]    Compiling anyhow v1.0.44
[INFO] [stderr]    Compiling itertools v0.10.1
[INFO] [stderr]    Compiling ucd-trie v0.1.3
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling pkg-config v0.3.20
[INFO] [stderr]    Compiling num-bigint v0.4.2
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling anymap v0.12.1
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling pest v2.1.3
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]     Checking pin-project-lite v0.2.8
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling tinyvec v1.5.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]     Checking matrixmultiply v0.3.1
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]     Checking crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling pest_meta v2.1.3
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]     Checking num-complex v0.4.0
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking mio v0.8.2
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling proc-quote-impl v0.3.2
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]     Checking half v1.7.1
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]     Checking ndarray v0.15.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling which v4.2.2
[INFO] [stderr]     Checking crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]     Checking tokio v1.17.0
[INFO] [stderr]    Compiling paste v1.0.5
[INFO] [stderr]     Checking dyn-clone v1.0.4
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking http v0.2.6
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling prost-build v0.8.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking bit-set v0.5.2
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]     Checking tracing-core v0.1.23
[INFO] [stderr]    Compiling fixedbitset v0.2.0
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]     Checking tracing v0.1.32
[INFO] [stderr]     Checking rayon-core v1.9.1
[INFO] [stderr]    Compiling petgraph v0.5.1
[INFO] [stderr]     Checking lexical-core v0.7.6
[INFO] [stderr]     Checking xattr v0.2.2
[INFO] [stderr]     Checking filetime v0.2.15
[INFO] [stderr]    Compiling tempfile v3.2.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]     Checking tar v0.4.37
[INFO] [stderr]     Checking rayon v1.5.1
[INFO] [stderr]     Checking flate2 v1.0.22
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling serde_json v1.0.68
[INFO] [stderr]    Compiling rustversion v1.0.6
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]     Checking weezl v0.1.5
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling enigo v0.0.14
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]    Compiling semver v1.0.7
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking gif v0.11.2
[INFO] [stderr]     Checking nom v6.1.2
[INFO] [stderr]     Checking mapr v0.8.0
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking bytemuck v1.7.2
[INFO] [stderr]     Checking ipnet v2.4.0
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking edit-distance v2.1.0
[INFO] [stderr]     Checking strum v0.24.0
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking h2 v0.3.12
[INFO] [stderr]    Compiling proc-quote v0.3.2
[INFO] [stderr]    Compiling pest_generator v2.1.3
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling liquid-derive v0.22.0
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]    Compiling enum-ordinalize v3.1.10
[INFO] [stderr]    Compiling prost-derive v0.8.0
[INFO] [stderr]    Compiling derive-new v0.5.9
[INFO] [stderr]    Compiling strum_macros v0.24.0
[INFO] [stderr]    Compiling educe v0.4.18
[INFO] [stderr]     Checking hyper v0.14.18
[INFO] [stderr]    Compiling prost v0.8.0
[INFO] [stderr]    Compiling prost-types v0.8.0
[INFO] [stderr]     Checking tract-data v0.15.3
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]    Compiling tract-onnx v0.15.3
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking os_info v3.0.7
[INFO] [stderr]    Compiling kstring v1.0.5
[INFO] [stderr]    Compiling liquid-core v0.22.0
[INFO] [stderr]     Checking reqwest v0.11.10
[INFO] [stderr]    Compiling liquid-lib v0.22.0
[INFO] [stderr]    Compiling liquid v0.22.0
[INFO] [stderr]    Compiling tract-linalg v0.15.3
[INFO] [stderr]     Checking tract-core v0.15.3
[INFO] [stderr]     Checking tract-nnef v0.15.3
[INFO] [stderr]     Checking tract-hir v0.15.3
[INFO] [stderr]     Checking tract-onnx-opl v0.15.3
[INFO] [stderr]     Checking yas v0.1.8 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/common/utils.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/common/utils.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/common/utils.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::um::winuser::{FindWindowW, GetClientRect, ClientToScreen, GetAsyncKeyState, VK_RBUTTON};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/common/utils.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::um::winuser::{FindWindowW, GetClientRect, ClientToScreen, GetAsyncKeyState, VK_RBUTTON};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/common/utils.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::shared::windef::{HWND, RECT as WinRect, POINT as WinPoint};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/common/utils.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::shared::windef::{HWND, RECT as WinRect, POINT as WinPoint};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/common/utils.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::um::winnt::{SID_IDENTIFIER_AUTHORITY, SECURITY_NT_AUTHORITY, PSID, SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_ADMINS};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/common/utils.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::um::winnt::{SID_IDENTIFIER_AUTHORITY, SECURITY_NT_AUTHORITY, PSID, SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_ADMINS};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/common/utils.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use winapi::um::securitybaseapi::{AllocateAndInitializeSid, CheckTokenMembership, FreeSid};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/common/utils.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use winapi::um::securitybaseapi::{AllocateAndInitializeSid, CheckTokenMembership, FreeSid};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/common/utils.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use winapi::shared::minwindef::BOOL;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/common/utils.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use winapi::shared::minwindef::BOOL;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/capture/mod.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/capture/mod.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/capture/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::winuser::{
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/capture/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::winuser::{
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/capture/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::shared::windef::{HWND, HDC, RECT, HBITMAP, DPI_AWARENESS_CONTEXT};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/capture/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::shared::windef::{HWND, HDC, RECT, HBITMAP, DPI_AWARENESS_CONTEXT};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/capture/mod.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::shared::ntdef::NULL;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/capture/mod.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::um::wingdi::{
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/capture/mod.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::shared::ntdef::NULL;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/capture/mod.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::um::wingdi::{
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/capture/mod.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use winapi::ctypes::{c_void};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/capture/mod.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use winapi::ctypes::{c_void};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/capture/mod.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use winapi::um::winbase::{GlobalAlloc, GHND, GlobalLock};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/capture/mod.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use winapi::um::winbase::{GlobalAlloc, GHND, GlobalLock};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/capture/mod.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | use winapi::shared::windef::DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/capture/mod.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | use winapi::shared::windef::DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `self`
[INFO] [stdout]   --> src/capture/mod.rs:42:11
[INFO] [stdout]    |
[INFO] [stdout] 42 | use self::winapi::um::wingdi::{GetDeviceCaps, HORZRES};
[INFO] [stdout]    |           ^^^^^^ could not find `winapi` in `self`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `self`
[INFO] [stdout]   --> src/capture/mod.rs:42:11
[INFO] [stdout]    |
[INFO] [stdout] 42 | use self::winapi::um::wingdi::{GetDeviceCaps, HORZRES};
[INFO] [stdout]    |           ^^^^^^ could not find `winapi` in `self`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `self`
[INFO] [stdout]   --> src/capture/mod.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 | use self::winapi::shared::windef::DPI_AWARENESS_CONTEXT_SYSTEM_AWARE;
[INFO] [stdout]    |           ^^^^^^ could not find `winapi` in `self`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `self`
[INFO] [stdout]   --> src/capture/mod.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 | use self::winapi::shared::windef::DPI_AWARENESS_CONTEXT_SYSTEM_AWARE;
[INFO] [stdout]    |           ^^^^^^ could not find `winapi` in `self`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::capture::capture_absolute`
[INFO] [stdout]  --> src/common/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::capture::capture_absolute;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `capture_absolute` in `capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::capture::capture_absolute`
[INFO] [stdout]  --> src/common/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::capture::capture_absolute;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `capture_absolute` in `capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `capture_absolute` in module `capture`
[INFO] [stdout]   --> src/common/mod.rs:48:31
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let raw_u8 = capture::capture_absolute(&rect).unwrap();
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^ not found in `capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `capture_absolute` in module `capture`
[INFO] [stdout]   --> src/common/mod.rs:64:31
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let raw_u8 = capture::capture_absolute(&rect).unwrap();
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^ not found in `capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `capture_absolute_image` in module `capture`
[INFO] [stdout]   --> src/common/mod.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |         capture::capture_absolute_image(&rect)
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^ not found in `capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_color` in module `capture`
[INFO] [stdout]    --> src/scanner/yas_scanner.rs:192:30
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let color = capture::get_color(flag_x as u32, flag_y as u32);
[INFO] [stdout]     |                              ^^^^^^^^^ not found in `capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `capture_absolute` in module `capture`
[INFO] [stdout]    --> src/scanner/yas_scanner.rs:300:31
[INFO] [stdout]     |
[INFO] [stdout] 300 |             let im = capture::capture_absolute(&rect).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^ not found in `capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `capture_absolute` in module `capture`
[INFO] [stdout]    --> src/scanner/yas_scanner.rs:345:31
[INFO] [stdout]     |
[INFO] [stdout] 345 |         let u8_arr = capture::capture_absolute(&rect)?;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^ not found in `capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_color` in module `capture`
[INFO] [stdout]    --> src/scanner/yas_scanner.rs:355:30
[INFO] [stdout]     |
[INFO] [stdout] 355 |         let color = capture::get_color(
[INFO] [stdout]     |                              ^^^^^^^^^ not found in `capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> src/common/utils.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | use log::{error, info};
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `capture_absolute` in module `capture`
[INFO] [stdout]   --> src/common/mod.rs:48:31
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let raw_u8 = capture::capture_absolute(&rect).unwrap();
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^ not found in `capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::ClientBuilder`
[INFO] [stdout]   --> src/common/utils.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use reqwest::ClientBuilder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `capture_absolute` in module `capture`
[INFO] [stdout]   --> src/common/mod.rs:64:31
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let raw_u8 = capture::capture_absolute(&rect).unwrap();
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^ not found in `capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeaderMap`
[INFO] [stdout]   --> src/common/utils.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 | use reqwest::header::{HeaderMap, HeaderValue, USER_AGENT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `capture_absolute_image` in module `capture`
[INFO] [stdout]   --> src/common/mod.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |         capture::capture_absolute_image(&rect)
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^ not found in `capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Error`
[INFO] [stdout]  --> src/capture/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OsStr`
[INFO] [stdout]  --> src/capture/mod.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ffi::{OsStr};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_color` in module `capture`
[INFO] [stdout]    --> src/scanner/yas_scanner.rs:192:30
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let color = capture::get_color(flag_x as u32, flag_y as u32);
[INFO] [stdout]     |                              ^^^^^^^^^ not found in `capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::once`
[INFO] [stdout]  --> src/capture/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::once;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null_mut`
[INFO] [stdout]  --> src/capture/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr::null_mut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `capture_absolute` in module `capture`
[INFO] [stdout]    --> src/scanner/yas_scanner.rs:300:31
[INFO] [stdout]     |
[INFO] [stdout] 300 |             let im = capture::capture_absolute(&rect).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^ not found in `capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `size_of`, `transmute`
[INFO] [stdout]  --> src/capture/mod.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::mem::{size_of, transmute};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `capture_absolute` in module `capture`
[INFO] [stdout]    --> src/scanner/yas_scanner.rs:345:31
[INFO] [stdout]     |
[INFO] [stdout] 345 |         let u8_arr = capture::capture_absolute(&rect)?;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^ not found in `capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::ImageBuffer`
[INFO] [stdout]   --> src/capture/mod.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | use image::ImageBuffer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_color` in module `capture`
[INFO] [stdout]    --> src/scanner/yas_scanner.rs:355:30
[INFO] [stdout]     |
[INFO] [stdout] 355 |         let color = capture::get_color(
[INFO] [stdout]     |                              ^^^^^^^^^ not found in `capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PixelRectBound`, `PixelRect`
[INFO] [stdout]   --> src/capture/mod.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 39 | use crate::common::{PixelRect, PixelRectBound};
[INFO] [stdout]    |                     ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::color::Color`
[INFO] [stdout]   --> src/capture/mod.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | use crate::common::color::Color;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::imageops::colorops::grayscale`
[INFO] [stdout]  --> src/inference/pre_process.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use image::imageops::colorops::grayscale;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RgbImage`
[INFO] [stdout]  --> src/inference/pre_process.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use image::{RgbImage, GrayImage, ImageBuffer};
[INFO] [stdout]   |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/inference/inference.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/inference/inference.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tract_onnx::Onnx`
[INFO] [stdout]  --> src/inference/inference.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tract_onnx::Onnx;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout]  --> src/inference/inference.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::{Result, Value};
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::utils`
[INFO] [stdout]  --> src/inference/inference.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::common::utils;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PixelRect`
[INFO] [stdout]  --> src/info/info.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::common::{PixelRect, PixelRectBound};
[INFO] [stdout]   |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/info/window_info.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Div`, `Mul`
[INFO] [stdout]  --> src/info/window_info.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::{Div, Mul};
[INFO] [stdout]   |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::stdin`
[INFO] [stdout]  --> src/scanner/yas_scanner.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::stdin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]   --> src/scanner/yas_scanner.rs:10:30
[INFO] [stdout]    |
[INFO] [stdout] 10 | use log::{info, warn, error, debug};
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> src/common/utils.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | use log::{error, info};
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/scanner/yas_scanner.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RawImage`
[INFO] [stdout]   --> src/scanner/yas_scanner.rs:16:28
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::common::{utils, RawImage, PixelRect, RawCaptureImage, PixelRectBound};
[INFO] [stdout]    |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::ClientBuilder`
[INFO] [stdout]   --> src/common/utils.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use reqwest::ClientBuilder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]    --> src/scanner/yas_scanner.rs:588:13
[INFO] [stdout]     |
[INFO] [stdout] 588 |             'row: for row in start_row..self.row {
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeaderMap`
[INFO] [stdout]   --> src/common/utils.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 | use reqwest::header::{HeaderMap, HeaderValue, USER_AGENT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]    --> src/scanner/yas_scanner.rs:590:17
[INFO] [stdout]     |
[INFO] [stdout] 590 |                 'col: for col in 0..c {
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Error`
[INFO] [stdout]  --> src/capture/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OsStr`
[INFO] [stdout]  --> src/capture/mod.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ffi::{OsStr};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::once`
[INFO] [stdout]  --> src/capture/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::once;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null_mut`
[INFO] [stdout]  --> src/capture/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr::null_mut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `size_of`, `transmute`
[INFO] [stdout]  --> src/capture/mod.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::mem::{size_of, transmute};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::ImageBuffer`
[INFO] [stdout]   --> src/capture/mod.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | use image::ImageBuffer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PixelRectBound`, `PixelRect`
[INFO] [stdout]   --> src/capture/mod.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 39 | use crate::common::{PixelRect, PixelRectBound};
[INFO] [stdout]    |                     ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::color::Color`
[INFO] [stdout]   --> src/capture/mod.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | use crate::common::color::Color;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::imageops::colorops::grayscale`
[INFO] [stdout]  --> src/inference/pre_process.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use image::imageops::colorops::grayscale;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RgbImage`
[INFO] [stdout]  --> src/inference/pre_process.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use image::{RgbImage, GrayImage, ImageBuffer};
[INFO] [stdout]   |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/inference/inference.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/inference/inference.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tract_onnx::Onnx`
[INFO] [stdout]  --> src/inference/inference.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tract_onnx::Onnx;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout]  --> src/inference/inference.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::{Result, Value};
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::utils`
[INFO] [stdout]  --> src/inference/inference.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::common::utils;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PixelRect`
[INFO] [stdout]  --> src/info/info.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::common::{PixelRect, PixelRectBound};
[INFO] [stdout]   |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/info/window_info.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Div`, `Mul`
[INFO] [stdout]  --> src/info/window_info.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::{Div, Mul};
[INFO] [stdout]   |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::stdin`
[INFO] [stdout]  --> src/scanner/yas_scanner.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::stdin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]   --> src/scanner/yas_scanner.rs:10:30
[INFO] [stdout]    |
[INFO] [stdout] 10 | use log::{info, warn, error, debug};
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/scanner/yas_scanner.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RawImage`
[INFO] [stdout]   --> src/scanner/yas_scanner.rs:16:28
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::common::{utils, RawImage, PixelRect, RawCaptureImage, PixelRectBound};
[INFO] [stdout]    |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]    --> src/scanner/yas_scanner.rs:588:13
[INFO] [stdout]     |
[INFO] [stdout] 588 |             'row: for row in start_row..self.row {
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]    --> src/scanner/yas_scanner.rs:590:17
[INFO] [stdout]     |
[INFO] [stdout] 590 |                 'col: for col in 0..c {
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/common/utils.rs:25:41
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let wide: Vec<u16> = OsStr::new(&s).encode_wide().chain(once(0)).collect();
[INFO] [stdout]    |                                         ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/common/utils.rs:25:41
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let wide: Vec<u16> = OsStr::new(&s).encode_wide().chain(once(0)).collect();
[INFO] [stdout]    |                                         ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 25 previous errors; 27 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 25 previous errors; 27 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `yas` (lib) due to 26 previous errors; 27 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `yas` (lib test) due to 26 previous errors; 27 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "440b71651dc652b2e6588ce4a1c208545cbfb49eecf2a990188b991b09c03084", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "440b71651dc652b2e6588ce4a1c208545cbfb49eecf2a990188b991b09c03084", kill_on_drop: false }`
[INFO] [stdout] 440b71651dc652b2e6588ce4a1c208545cbfb49eecf2a990188b991b09c03084
